const http = uni.$u.http
// 列表
export const lists = (data) => http.get('author.opus/lists', {
	params: data
})
// 发布作品
export const created = (data) => http.post('author.opus/created', data)
// 删除作品
export const deleted = (data) => http.post('author.opus/deleted', data)
// 详情
export const detail = (data) => http.get('author.opus/detail', {
	params: data
})
// 更新作品 
export const modify = (data) => http.post('author.opus/modify', data)
// 购买作品
export const submit = (data) => http.post('author.opus/submit', data)
// 创作者订单
export const order = (data) => http.get('author.opus/order', {
	params: data
})
export const visit = (data) => http.get('author.visit/lists', {
	params: data
})
